<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            height: 1000px;
        }

        div{
            width: 300px;
            height: 300px;
        }
        .box1{
            background-color: pink;
        }
        .box2{
            background-color: orange;
            /*静态定位*/
           /* position: static;
            left: 10px;
            top: 20px;*/
            /*相对定位*/
            /*position: relative;
            left: 30px;
            top: 40px;*/
            /*绝对定位*/
            /*position: absolute;
            left: 40px;
            top: 40px;*/
            /*固定定位*/
            position: fixed;
            left: 0px;
        }
    </style>
</head>
<body>
<!--定位的实现方式-->
<div class="box1"></div>
<div class="box2"></div>
我4儿戏超人它v一般8UN9i0膜，-片。小额vt7by89nui0mo-，片。她v波音8怒9i膜，片它v波音8怒9i买0哦，
</body>
</html>